from django.conf.urls import url

from tutorial.quickstart import views
from django.conf.urls.static import static
from django.conf import settings

# 自定义的一个urls.py
urlpatterns = [
    # url(r'^tutorial.quickstart/$', views.movie_list),
    url(r'^quickstart/movie/movieList/', views.select_movie_list),
    url(r'^quickstart/movie/commentList/', views.select_comment_list),
    url(r'^quickstart/movie/celebrityList/', views.select_celebrity_list),

    url(r'^quickstart/download', views.hi),
    url(r'^quickstart/index2.articles', views.index2),
    url(r'^quickstart/download/release.apk', views.downloadApk),

    # -------------------------------------精选文章-----------------------------------
    url(r'^quickstart/article/articleList/', views.articles),
    url(r'^quickstart/articles/article_(\d+).html', views.article_detail),

]

urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
